From: Carlos Garnacho Date: Sat, 27 Jan 2024 13:26:05 +0000 (+0100) Subject: keyboard: Close keyboard immediately on Clutter.InputPanelState.OFF X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~69 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=81670e15439d2118c12dc2dd6bea953f9b68c7bd;p=gnome-shell.git keyboard: Close keyboard immediately on Clutter.InputPanelState.OFF This is already covered by a timeout to handle focus transitions between windows at the Clutter.InputMethod implementation, we can react immediately and avoid chaining up timeouts. Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 4ce21976c..1dc369ff1 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1644,7 +1644,7 @@ export const Keyboard = GObject.registerClass({ if (enabled) this.open(Main.layoutManager.focusIndex); else - this.close(); + this.close(true); } _setActiveLevel(activeLevel) {